package com.newmainsoftech.logging.wrapper;

import com.google.inject.AbstractModule;
import com.google.inject.Provider;

public class LoggerWrapInjectionModule extends AbstractModule {

	@Override
	protected void configure() {
		bind( LoggerWrapContract.class).toProvider( LogWrapperProvider.class);
	}

	static class LogWrapperProvider implements Provider<LoggerWrapContract> {
		public LoggerWrapContract get() {
			return new LoggerWrapImpl();
		}
	}
}
